<?php
	$auth = Zend_Auth::getInstance();
	$infoUser = $auth->getIdentity();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8'); ?>
    <?php echo $this->headLink(); ?>
    <link type="image/x-icon" href="<?php echo $this->DirImg; ?>/icon.png" rel="shortcut icon" />
    <?php echo $this->headScript(); ?>
    <?php echo $this->headTitle(); ?>
</head>

<body>

    <div id="header">
        <div class="container">
        	 
        </div><!-- End .container -->
    </div><!-- End #header -->
    
    <div id="nav_menu">
        <div class="link_nav">
            <ul>
                <li><a href="<?php echo $this->baseUrl(''); ?>" target="_blank">TRANG CHỦ</a></li>
                <li>
                    <a href="<?php echo $this->baseUrl('admin-dthink/congratulations'); ?>">NỘI DUNG</a>
                    <ul>
                        <li><a href="<?php echo $this->baseUrl('admin-dthink/congratulations'); ?>">Quản lý lời chúc</a></li>
                        <li><a href="<?php echo $this->baseUrl('admin-dthink/gallery'); ?>">Quản lý ảnh</a></li>
                        <?php if($infoUser->level == 0) : ?>
                        <li><a href="<?php echo $this->baseUrl('admin-dthink/user'); ?>">Quản lý tài khoản</a></li>
                        <?php endif; ?>
                    </ul>
                </li>
                <li>
                	<a href="<?php echo $this->baseUrl('admin-dthink/user/profile'); ?>">CÁ NHÂN</a>
                	<ul>
                		<li><a href="<?php echo $this->baseUrl('admin-dthink/user/profile'); ?>">Thông tin tài khoản</a></li>
                		<li><a href="<?php echo $this->baseUrl('admin-dthink/user/changepassword'); ?>">Thay đổi mật khẩu</a></li>
                	</ul>
                </li>
                <li><a onclick="return logout()" href="<?php echo $this->baseUrl('admin-dthink/index/logout'); ?>">THOÁT</a></li>
            </ul>
            
            <div class="login_email">
                Chào mừng, 
                <span class="msg_email">
                <?php echo $infoUser->email; ?>
                </span>
            </div>
        </div>
    </div><!-- End #nav_menu -->
    
    <div id="content">
        <div class="wrapper">
            <div class="right_content">
                <?php echo $this->layout()->content; ?>
            </div><!-- End .right_content -->
        </div><!-- End .wrapper -->
    </div><!-- End #content -->
    
    <div id="footer"></div><!-- End #footer -->

</body>
</html>